package com.zzyl.mapper;

import com.zzyl.entity.NursingProject;
import com.zzyl.vo.NursingProjectVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NursingProjectMapper {
    List<NursingProjectVo> selectByPage(Integer pageNum, Integer pageSize, String name, Integer status);


    NursingProjectVo selectNursingProjectById(Long id);

    void deleteNursingProjectById(Long id);

    void addNursingProject(NursingProject nursingProject);

    int selectProject(String id);

    void updateNursingProject(NursingProject bean);

    void setStatus(Long id, Integer status);

    List<NursingProjectVo> selectNursingProjectAll();

    Integer selectForPlan(Long id);
}
